package com.huluobo.a2202mvvm_im_douyindemo.bean;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * Created by LC on 2024/5/11.
 */
@Entity(tableName = "user_money")
public class Money {
    @PrimaryKey(autoGenerate = true)
    public int id;
    public String username;
    public Float money;

    public Money(String username, Float money) {
        this.username = username;
        this.money = money;
    }

    @Override
    public String toString() {
        return "Money{" +
                "username='" + username + '\'' +
                ", money=" + money +
                '}';
    }
}
